<?php 
	echo $this->Html->css(array('tabela'));
?>

<style>

	.layout_relatorio, .layout_relatorio td, .layout_relatorio th {
		font-family: verdana;
		font-size: 10px;
	}
	
	.layout_relatorio th {
		text-align: left;
	}
	
	.logo_empresa {
	    background: url("<?php echo $this->request->base; ?>/img/sistema/logo1.gif") no-repeat scroll left bottom transparent;
	    display: block;
	    float: left;
	    height: 58px;
	    width: 166px;
	}
	
	.endereco_empresa {
		float: left;
		font-weight: normal;
	}
	
	.linha {
		border-bottom: 1px solid black;
	}

</style>

<table width="100%" class="layout_relatorio">
	<thead>
		<tr>
			<th class="linha">
				<span class="logo_empresa"></span>
				<span class="endereco_empresa">
					<b>CENTRO INTEGRADO DE APOIO</b>
					<br />Rua Dr. Constantino Paleta, 171 - Centro
					<br />Juiz de Fora/MG
					<br />Telefones: (32) 3212-1614 / (32) 9923-3320
				</span>
			</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td><?php echo $this->fetch('content'); ?></td>
		</tr> 
	</tbody>
	<tfoot>
		<tr><th>Emissão: <?php echo $this->Sistema->data_hora_atual('br'); ?></th></tr>
	</tfoot>
</table>